import {url} from './index'
export const login = async (code) => {
	return await uni.request({
		method:"get",
		url:url + "/users/weixinLogin",
		data:{
			code
		}
	})
}
export const fillDetail = async (data) => {
	return await uni.request({
		method:"post",
		url:url + "/users/weixinDetail",
		data
	})
}